package util.resource;


/**
 * An interface to obtain notifications of file loading by a ResourceManager.
 * @author Logan
 */
public interface ResourceListener
{
	/**
	 * Called whenever a ResourceManager loads a file. Can be used to make loading screens.
	 * @param current - the number of resources up to now that have been loaded.
	 * @param max - the number of resources that the ResourceManager needs to load.
	 * @param name - the name of the last resource which was loaded.
	 */
	public void resourceLoadedEvent(int current,int max,String name);
	public void doneLoadingEvent();
}
